Automattic\WooCommerce\Admin\CategoryLookup S

Total Complexity 26
Dependencies 1
Dependents 1
Total lines 265
Lines of code 140
Logical lines of code 70
Comment lines 86
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
unflatten_terms()
S
60 4 14
update()
S
58 3 15
regenerate()
S
51 2 29
on_edit()
S
60 3 14
delete()
S
58 3 14
get_term_insert_values()
S
62 3 12
instance()
S
71 2 6
get_descendants()
S
64 1 11
get_ancestors()
S
64 1 11
__construct()
S
98 1 1
init()
S
72 1 5
before_edit()
S
75 1 4
get_insert_sql()
S
75 1 4